package com.oa;

import com.alicp.jetcache.anno.config.EnableCreateCacheAnnotation;
import com.alicp.jetcache.anno.config.EnableMethodCache;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.security.config.annotation.web.configuration.EnableWebSecurity;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * OA项目
 * @author cuichao
 */
@MapperScan("com..**.dao")
@EnableWebSecurity
@EnableTransactionManagement
@EnableCreateCacheAnnotation
@EnableMethodCache(basePackages = {"com.oa", "jk"}  )
@EnableAspectJAutoProxy(exposeProxy = true)
@SpringBootApplication
public class ApplicationRunner {

    public static void main(String[] args) {
        SpringApplication.run(ApplicationRunner.class);
    }

}
